@media (min-width: 979px) {
    body.sonata-bc {
        padding-top: 60px;
    }
}

.sonata-bc .navbar a.brand {
    margin: 0px;
    padding: 0px;
    line-height: 40px;
    padding-right: 20px;
}

.sonata-bc a.brand img {
    margin: 0px;
    padding: 0px;
    padding-right: 5px;
    height: 28px;
    vertical-align: middle;
}

.sonata-bc div.border {
    border: 1px solid #DDDDDD;
    border-radius: 6px 6px 6px 6px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075);
}

.sonata-bc div.connection {
    position: absolute;
    left: 50%;
    top: 35%;
    width: 460px;
    margin: -130px 0 0 -250px;
    box-shadow: 2px 2px 10px #ccc;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.sonata-bc div.connection .control-group {
    padding: 0 20px 0 20px;
}

.sonata-bc div.connection .alert {
    margin: 0 20px 20px 20px;
}

.sonata-bc div.connection form {
    padding-top: 15px;
    margin-bottom: 0px;
}

.sonata-bc div.connection form .form-actions {
    margin-bottom: 0px;
}

.sonata-bc div.connection .form-actions {
    padding-left: 20px;
}

.sonata-bc div.connection div input.big {
    height: 35px;
    font-size: 25px;
}

.sonata-bc.sonata-ba-no-side-menu div.container-fluid > div.content {
    margin-left: 0px;
}

.sonata-bc div.sonata-ba-field-inline-table input.title {
    width: 100px;
}

.sonata-bc div.sonata-ba-field-inline-table textarea.title {
    width: 150px;
    height: 50px;
}

.sonata-bc fieldset.filter_legend {
    font-weight: bold;
    border: 1px solid #E4E4E4;
    margin: 0;
    border-width: 1px 0 0;
    padding: 0;
}

.sonata-bc fieldset.filter_legend table {
    margin: 10px 0;
}

.sonata-bc legend.filter_legend {
    position: relative;
    padding-left: 16px;
    cursor: pointer;
}

.sonata-bc legend.filter_legend:before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-top: 4px solid black;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
    position: absolute;
    top: 50%;
    left: 2px;
    margin-top: -2px;
}

.sonata-bc form.sonata-filter-form.form-stacked {
    padding-left: 0;
}

.sonata-bc legend.filter_legend.active,
.sonata-bc tr.filter.active * {
    font-weight: bold;
    color: #000;
}

.sonata-bc table.sonata-ba-list td {
    width: 75px;
}

.sonata-bc .zebra-striped tbody tr.sonata-ba-list-row-selected td, .sonata-bc .zebra-striped tbody tr.sonata-ba-list-row-selected th {
    background-color: #fcffc4;
}

.sonata-bc .zebra-striped tbody tr.sonata-ba-list-row-selected:nth-child(odd) td, .sonata-bc .zebra-striped tbody tr.sonata-ba-list-row-selected:nth-child(odd) th {
    background-color: #faff9e;
}

.sonata-bc .zebra-striped tbody tr.sonata-ba-list-row-selected:hover td, .sonata-bc .zebra-striped tbody tr.sonata-ba-list-row-selected:hover th {
    background-color: #fdffd8;
}

.sonata-bc table.sonata-ba-list td img {
    vertical-align: bottom
}

.sonata-bc td.pager ul {
    float: left;
    list-style: none;
    margin: 2px;
    margin-left: auto;
    margin-right: auto;
}

.sonata-bc td.pager ul li {
    float: left;
}

.sonata-bc td.pager ul li a {
    border: 1px solid #cccccc;
    line-height: 25px;
    padding: 1px 8px 1px 8px;
    margin: 2px;
}

.sonata-bc div.sonata-ba-modal-edit-one-to-one td.sonata-ba-list-field-batch,
.sonata-bc div.sonata-ba-modal-edit-one-to-one div.sonata-ba-list-actions,
.sonata-bc div.sonata-ba-modal-edit-one-to-one th.sonata-ba-list-field-header-batch {
    display: none;
}

.sonata-bc div.sonata-ba-modal-edit-one-to-one div.sonata-ba-list-actions {
    display: none;
}

.sonata-bc th.sonata-ba-list-field-header-order-desc:hover:before {
	content: "";
	display: block;
	width: 0;
	height: 0;
	border-top: 4px solid black;
	border-right: 4px solid transparent;
	border-left: 4px solid transparent;
	position: absolute;
	top: 50%;
	left: 2px;
	margin-top: -3px;
}

.sonata-bc th.sonata-ba-list-field-header-order-asc:hover:before {
	content: "";
	display: block;
	width: 0;
	height: 0;
	border-bottom: 4px solid black;
	border-right: 4px solid transparent;
	border-left: 4px solid transparent;
	border-top: 4px solid transparent;
	position: absolute;
	top: 50%;
	left: 2px;
	margin-top: -5px;
}

.sonata-bc th.sonata-ba-list-field-header-order-desc,
.sonata-bc th.sonata-ba-list-field-header-order-asc {
    padding-left: 15px;
    position: relative;
}

.sonata-bc th.sonata-ba-list-field-header-order-asc.sonata-ba-list-field-order-active:before,
.sonata-bc th.sonata-ba-list-field-header-order-desc.sonata-ba-list-field-order-active:hover:before {
	content: "";
	display: block;
	width: 0;
	height: 0;
	border-top: 4px solid black;
	border-right: 4px solid transparent;
	border-left: 4px solid transparent;
	border-bottom: 4px solid transparent;
	position: absolute;
	top: 50%;
	left: 2px;
	margin-top: -3px;
}

.sonata-bc th.sonata-ba-list-field-header-order-desc.sonata-ba-list-field-order-active:before,
.sonata-bc th.sonata-ba-list-field-header-order-asc.sonata-ba-list-field-order-active:hover:before {
	content: "";
	display: block;
	width: 0;
	height: 0;
	border-bottom: 4px solid black;
	border-right: 4px solid transparent;
	border-left: 4px solid transparent;
	border-top: 4px solid transparent;
	position: absolute;
	top: 50%;
	left: 2px;
	margin-top: -5px;
}

.sonata-bc em.sonata-ba-field-help {
    display: block;
    color: #999;
    margin-bottom: 10px;
}

.sonata-bc fieldset legend {
    padding-left: 0px;
}

.sonata-bc select.sonata-medium, textarea.sonata-medium, input.sonata-medium {
    width: 400px;
}

.sonata-bc textarea.sonata-medium {
    height: 125px;
}

.sonata-bc div.sonata-medium-date {
    overflow: hidden;
}

.sonata-bc div.sonata-medium-date select {
    width: 75px;
}

.sonata-bc div.sonata-medium-date div {
    float: left;
}

.sonata-bc .sonata-ba-field-inline-table select.sonata-medium,
.sonata-bc .sonata-ba-field-inline-table textarea.sonata-medium,
.sonata-bc .sonata-ba-field-inline-table input.sonata-medium {
    width: 150px;
}

.sonata-bc .sonata-ba-view-title {
    font-size: 19.5px;
    line-height: 1;
    color: #404040;
    *padding: 0 0 5px 0;
    *line-height: 1.5;
}

.sonata-bc .sonata-ba-view-title td, .sonata-ba-view-title th {
    border: 0;
}

.sonata-bc .sonata-ba-view-container th {
    width: 130px;
}

.sonata-bc .sonata-ba-view-container td, .sonata-ba-view-container th {
    border-bottom: 0;
    border-top: 1px solid #eee;
}

.sonata-bc .sonata-ba-view-container:nth-child(2n) td, .sonata-ba-view-container:nth-child(2n) th {
    background-color: #f9f9f9;
}

.sonata-bc .sonata-ba-view-container:nth-child(2n):hover td, .sonata-ba-view-container:nth-child(2n):hover th {
    background-color: #f5f5f5;
}

.sonata-bc .container-fluid > .sidebar {
    top: auto;
}

.sonata-action-element.btn-group {
    display: inline-block;
    padding: 4px 10px 4px;
    vertical-align: middle;
}

.sonata-collection-delete {
    float: left;
    margin-top: 5px;
}

.no-js .sonata-collection-add, .no-js .sonata-collection-delete {
    display: none;
}

ul.inputs-list {
    padding-left: 150px;
}

legend + .sonata-ba-collapsed-fields {
    margin-top: 18px;
    -webkit-margin-top-collapse: separate;
}

legend.sonata-ba-fieldset-collapsed-description + .sonata-ba-collapsed-fields {
    margin-top: 0;
}

.sonata-ba-collapsed-fields > p {
    margin-bottom: 18px;
}

.bordered-table tbody.ui-sortable tr {
    cursor: move;
}

.sonata-ba-fieldset-collapsed legend:before {
    content: '+ ';
}

.sonata-ba-collapsed-fields-close legend:before {
    content: '- ';
    padding-left: 5px;
}

.sonata-preview-form-container fieldset {
    display: none;
}

.sonata-bc .pagination {
    margin: 0px;
}
